package com.wjw.java.juc;

import lombok.extern.slf4j.Slf4j;

/**
 * 1.使用Thread类创建线程
 */
@Slf4j(topic = "c._01Thread")
public class _01Thread {

    public static void main(String[] args) {

        Thread t1 = new Thread("t1"){
            @Override
            public void run() {
                log.debug("t1线程...");
            }
        };
        t1.start();

        log.debug("主线程...");
    }
}
